// out: false,main:../fire_normal.less,main:../fire_dark.less
.float-bottom-box {
    @size: 70px;
    // width: 500px;
    position: absolute;
    bottom: 10px;
    // border: 1px solid #f00;
    left: 50%;
    z-index: 501;
    // background: #fff;
    margin-left: -(@size+5)*8/2-10;

    ul {
        font-size: 0;
        display: flex;
        flex-direction: row;
        z-index: 2;
        li {
            position: relative;

            &.hover,
            &:hover {
                &>a {
                    background: @main-color;
                    color: #fff;
                }
            }

            &>a {
                font-size: 14px;
                display: inline-block;
                // border: 1px solid #ccc;
                border-radius: 4px;
                width: @size;
                height: @size;
                margin: 0 6px 0 0;
                background: #fff;
                display: flex;
                flex-direction: column;
                position: relative;

                p {
                    text-align: center;
                    flex-grow: 1;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    &.icon {
                        padding: 6px 0 0 0;

                        i {
                            font-size: 25px;
                        }
                    }

                    &.text {
                        padding: 2px 0;
                    }
                }



            }

            & .smenu {
                position: absolute;
                // top: -70px;
                bottom: 70px;
                left: 0;
                font-size: 14px;
                width: 70px;
                box-sizing: border-box;
                background: #fff;
                border-radius: 4px;
                display: none;
                z-index: 99;
                a {
                    display: block;
                    text-align: center;
                    padding: 8px 0;
                    border-bottom: 1px solid #f1f1f1;

                    &.hover,
                    &:hover {
                        background: lighten(@main-color, 10%);
                        color: #fff;
                    }

                }
            }

            &:hover {
                .smenu {
                    display: block;
                }
            }
        }
    }
}
.importDark (@a)when (@a="dark") {
    .float-bottom-box{
        background: @main-color;padding:10px;
        border-radius: 5px;
        ul{
            li{
                a{
                    background:lighten(@main-color,10%);
                    color:#fff;
                    
                }
                &:hover,&.hover{
                    a{
                        background:darken(@main-color,5%);
                    }
                }
                & .smenu{
                    a{
                        border-bottom: 1px solid lighten(@main-color,5%);
                    }
                }
            }
        }
    }
}